//
//  CycleView.h
//  LearnShare
//
//  Created by foreveross－bj on 14/12/18.
//  Copyright (c) 2014年 foreveross－bj. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface CycleView : UIView
{
    CGFloat _progress;     //进度
    UIColor *_hiddenColor; //遮罩层颜色
}

#pragma mark - init
- (id)initWithFrame:(CGRect)frame hiddenColor:(UIColor *)hiddenColor progressColor:(UIColor *)progressColor;
#pragma mark - setting and getting
/**
 * 设置进度
 * @param progress
 **/
- (void)setProgress:(CGFloat)progress;
/**
 * 获取进度
 * @param CGFloat
 **/
- (CGFloat)progress;
/**
 * 设置遮罩层颜色
 * @param hiddenColor
 **/
- (void)setHiddenColor:(UIColor *)hiddenColor;
/**
 * 获取遮罩层颜色
 * @param UIColor
 **/
- (UIColor *)hiddenColor;


@end
